package com.kele.service.impl;

import com.kele.entity.User;
import com.kele.mapper.UserMapper;
import com.kele.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Version 2019
 * @Author:kele
 * @Date:2020/11/1
 * @Content:
 * @Description：
 */
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserMapper userMapper;
    @Override
    public User findUserByName(String username) {
        return userMapper.findUserByName(username);
    }
}
